<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aaa: mainwindow.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">aaa
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">mainwindow.h</div></div>
</div><!--header-->
<div class="contents">
<a href="mainwindow_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#ifndef MAINWINDOW_H</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#define MAINWINDOW_H</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &lt;QMainWindow&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &lt;QPainter&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &lt;QObject&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &lt;QAbstractButton&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#include &lt;QMap&gt;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#include &lt;QThread&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#include &quot;<a class="code" href="xpushbuttonfunction_8h.html">xpushbuttonfunction.h</a>&quot;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>QT_BEGIN_NAMESPACE</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="namespace_ui.html">   24</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_ui.html">Ui</a> { <span class="keyword">class </span><a class="code hl_class" href="class_main_window.html">MainWindow</a>; }</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>QT_END_NAMESPACE</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="class_main_window.html">   27</a></span><span class="keyword">class </span><a class="code hl_class" href="class_main_window.html">MainWindow</a> : <span class="keyword">public</span> QMainWindow</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>{</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    Q_OBJECT</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>    <a class="code hl_function" href="class_main_window.html#a996c5a2b6f77944776856f08ec30858d">MainWindow</a>(QWidget *parent = <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <a class="code hl_function" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a>();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="class_main_window.html#ab76a90716d9e60ca47fcf58a471c50ea">   35</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_main_window.html#aeb427b99ccff8cc39609656b6d61cded">r</a>, <a class="code hl_variable" href="class_main_window.html#a32af1047b6a4f8b340e3bff53b5d2a48">g</a>, <a class="code hl_variable" href="class_main_window.html#ab76a90716d9e60ca47fcf58a471c50ea">b</a>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_main_window.html#a16c24245d00afb35b6a3df17f5954adf">draw</a>();</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="class_main_window.html#a35466a70ed47252a0191168126a352a5">   40</a></span>    Ui::MainWindow *<a class="code hl_variable" href="class_main_window.html#a35466a70ed47252a0191168126a352a5">ui</a>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="class_main_window.html#aa86327e2ed8ed2b5cb791d7f2fe62629">   42</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_main_window.html#aa86327e2ed8ed2b5cb791d7f2fe62629">message</a>();</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="keyword">private</span> slots:</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>   <span class="keywordtype">void</span> <a class="code hl_slot" href="class_main_window.html#a2b226b63c1893964714970fc7e79ba1a">RColor_valuechanged</a>(<span class="keywordtype">int</span> value);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>   <span class="keywordtype">void</span> <a class="code hl_slot" href="class_main_window.html#a98f2c46c4ab4c83f777c9adbf84798cf">GColor_valuechanged</a>(<span class="keywordtype">int</span> value);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>   <span class="keywordtype">void</span> <a class="code hl_slot" href="class_main_window.html#aa9391cb8b322b3f39cb52eb94e717bc8">BColor_valuechanged</a>(<span class="keywordtype">int</span> value);</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>   <span class="keywordtype">void</span> <a class="code hl_slot" href="class_main_window.html#a35ce79360a41672688a7f4e8bc98d8aa">set</a>(<span class="keywordtype">bool</span> res);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>};</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="preprocessor">#endif </span><span class="comment">// MAINWINDOW_H</span></div>
<div class="ttc" id="aclass_main_window_html"><div class="ttname"><a href="class_main_window.html">MainWindow</a></div><div class="ttdef"><b>Definition:</b> mainwindow.h:28</div></div>
<div class="ttc" id="aclass_main_window_html_a16c24245d00afb35b6a3df17f5954adf"><div class="ttname"><a href="class_main_window.html#a16c24245d00afb35b6a3df17f5954adf">MainWindow::draw</a></div><div class="ttdeci">void draw()</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:180</div></div>
<div class="ttc" id="aclass_main_window_html_a2b226b63c1893964714970fc7e79ba1a"><div class="ttname"><a href="class_main_window.html#a2b226b63c1893964714970fc7e79ba1a">MainWindow::RColor_valuechanged</a></div><div class="ttdeci">void RColor_valuechanged(int value)</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:160</div></div>
<div class="ttc" id="aclass_main_window_html_a32af1047b6a4f8b340e3bff53b5d2a48"><div class="ttname"><a href="class_main_window.html#a32af1047b6a4f8b340e3bff53b5d2a48">MainWindow::g</a></div><div class="ttdeci">int g</div><div class="ttdef"><b>Definition:</b> mainwindow.h:35</div></div>
<div class="ttc" id="aclass_main_window_html_a35466a70ed47252a0191168126a352a5"><div class="ttname"><a href="class_main_window.html#a35466a70ed47252a0191168126a352a5">MainWindow::ui</a></div><div class="ttdeci">Ui::MainWindow * ui</div><div class="ttdef"><b>Definition:</b> mainwindow.h:40</div></div>
<div class="ttc" id="aclass_main_window_html_a35ce79360a41672688a7f4e8bc98d8aa"><div class="ttname"><a href="class_main_window.html#a35ce79360a41672688a7f4e8bc98d8aa">MainWindow::set</a></div><div class="ttdeci">void set(bool res)</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:188</div></div>
<div class="ttc" id="aclass_main_window_html_a98f2c46c4ab4c83f777c9adbf84798cf"><div class="ttname"><a href="class_main_window.html#a98f2c46c4ab4c83f777c9adbf84798cf">MainWindow::GColor_valuechanged</a></div><div class="ttdeci">void GColor_valuechanged(int value)</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:167</div></div>
<div class="ttc" id="aclass_main_window_html_a996c5a2b6f77944776856f08ec30858d"><div class="ttname"><a href="class_main_window.html#a996c5a2b6f77944776856f08ec30858d">MainWindow::MainWindow</a></div><div class="ttdeci">MainWindow(QWidget *parent=nullptr)</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:17</div></div>
<div class="ttc" id="aclass_main_window_html_aa86327e2ed8ed2b5cb791d7f2fe62629"><div class="ttname"><a href="class_main_window.html#aa86327e2ed8ed2b5cb791d7f2fe62629">MainWindow::message</a></div><div class="ttdeci">void message()</div></div>
<div class="ttc" id="aclass_main_window_html_aa9391cb8b322b3f39cb52eb94e717bc8"><div class="ttname"><a href="class_main_window.html#aa9391cb8b322b3f39cb52eb94e717bc8">MainWindow::BColor_valuechanged</a></div><div class="ttdeci">void BColor_valuechanged(int value)</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:173</div></div>
<div class="ttc" id="aclass_main_window_html_ab76a90716d9e60ca47fcf58a471c50ea"><div class="ttname"><a href="class_main_window.html#ab76a90716d9e60ca47fcf58a471c50ea">MainWindow::b</a></div><div class="ttdeci">int b</div><div class="ttdef"><b>Definition:</b> mainwindow.h:35</div></div>
<div class="ttc" id="aclass_main_window_html_ae98d00a93bc118200eeef9f9bba1dba7"><div class="ttname"><a href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">MainWindow::~MainWindow</a></div><div class="ttdeci">~MainWindow()</div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:155</div></div>
<div class="ttc" id="aclass_main_window_html_aeb427b99ccff8cc39609656b6d61cded"><div class="ttname"><a href="class_main_window.html#aeb427b99ccff8cc39609656b6d61cded">MainWindow::r</a></div><div class="ttdeci">int r</div><div class="ttdef"><b>Definition:</b> mainwindow.h:35</div></div>
<div class="ttc" id="anamespace_ui_html"><div class="ttname"><a href="namespace_ui.html">Ui</a></div><div class="ttdoc">摘要</div><div class="ttdef"><b>Definition:</b> mainwindow.h:24</div></div>
<div class="ttc" id="axpushbuttonfunction_8h_html"><div class="ttname"><a href="xpushbuttonfunction_8h.html">xpushbuttonfunction.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
